﻿#include "DAProject.h"
#include <QScopedPointer>
class DAProjectPrivate
{
public:
    DA_IMPL_PUBLIC(DAProject)
    DAProjectPrivate(DAProject *p);

public:
    QString _projectName;
};

DAProjectPrivate::DAProjectPrivate(DAProject *p) : q_ptr(p) {}

////////////////////////////////////////////////////

DAProject::DAProject(QObject *p) : QObject(p), d_ptr(new DAProjectPrivate(this)) {}

DAProject::~DAProject() {}

/**
 * @brief 获取工程名
 * @return
 */
QString DAProject::getProjectName() const
{
    return (d_ptr->_projectName);
}

/**
 * @brief 设置工程名
 * @param projectName
 */
void DAProject::setProjectName(const QString &projectName)
{
    d_ptr->_projectName = projectName;
}
